Create the Acknowledgement MAC – Old Terminals

Command:

Create the Acknowledgement MAC for old terminals

Notes:

Use of this command requires the optional ESP licence. Error code 67 will be returned if the command is not licensed.

 

Field

Length & Type

Details

COMMAND MESSAGE

Message Header

m A

Will be returned to the Host unchanged

Command Code

2 A

Value “Y0”

*KMACACQ

32 H

Double length KMACACQ encrypted under LMK pair 20-21 variant 9

Rec. IDMCARD

4 B

ID of the receiving Mcard

Gen. IDMCARD

4 B

ID of the MCard that generated the collection batch

Coll. No.

1 B

Collection Number

NTBATCH

2 B

The total number of purchase and cancellation transactions included in the batch

End Message Delimiter

1 C

Optional. Must be present if a message trailer is present. Value X'19

Message Trailer

n A

Optional. Maximum length 32 characters

RESPONSE MESSAGE

Message Header

m A

Will be returned to the Host unchanged

Response Code

2 A

Value “Y1”

Error Code

2 N

00 – No error.

10 – KMAC parity error

12 – No keys loaded in user storage

13 – LMK error – report to Supervisor

15 – Error in input data

21 – Invalid user storage index

  

SAQC

16 H

Acknowledgement MAC

End Message Delimiter

1 C

Will only be present if present in the command message. Value X'19

Message Trailer

n A

Will only be present if in the command message. Maximum length 32 characters